package com.xike.cloud.wework.mapper.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author jobob
 * @since 2021-07-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class GroupWelcomeTemplateMiniprogram implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String templateId;

    /**
     * 小程序的标题,最长64个字节
     */
    private String miniProgramTitle;

    /**
     * 小程序消息封面的mediaid，封面图建议尺寸为520*416
     */
    private String miniProgramPicMediaId;

    /**
     * 小程序appid，必须是关联到企业的小程序应用
     */
    private String miniProgramAppId;

    /**
     * 小程序的路径
     */
    private String miniProgramPage;

    private LocalDateTime updateTime;

    private LocalDateTime createTime;

    /**
     * 机构id
     */
    private String tenantId;


}
